package com.dashang.util.common.tag;

import java.util.Locale;
import java.util.ResourceBundle;

public class Resource
{
    /**
     *
     * <一句话功能简述>
     * <功能详细描述>
     * @param baseName
     * @param key
     * @param locale
     * @return
     * @see [类、类#方法、类#成员]
     */
    public static String getResource(String baseName, String key, Locale locale)
    {
        ResourceBundle resouce = ResourceBundle.getBundle(baseName, locale);
        return resouce.getString(key);
    }
}
